HTMLify
index.html
Views: 323 | Author: cody
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title>Three.js Parallax Effect</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" /> <link rel="stylesheet" type="text/css" media="screen" href="style.css" /> </head> <body> <div id="container"></div> <section> <div> <h1>Parallax Skybox</h1> <p>- three.js -</p> <p id="arrow">»</p> </div> </section> <section> <div></div> </section> <section> <div></div> </section> <section> <div> <p id="arrow">»</p> </div> </section> <section> <div></div> </section> <section> <div> <p id="arrow">»</p> </div> </section> <section> <div></div> </section> <script async src="https://ga.jspm.io/npm:es-module-shims@1.6.3/dist/es-module-shims.js" crossorigin="anonymous" ></script> <script type="importmap"> { "imports": { "three": "https://unpkg.com/three@0.154.0/build/three.module.js", "three/addons/": "https://unpkg.com/three@0.154.0/examples/jsm/" } } </script> <script type="module" src="script.js"></script> </body> </html> |